Fix flashing in non-double-buffered widgets
authorAlexander Larsson <alexl@redhat.com>
Thu, 23 Aug 2012 13:51:13 +0000 (15:51 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 23 Aug 2012 14:31:30 +0000 (16:31 +0200)
commite112cdacd4d500066c09cbdcad1034c3eed32f31
tree8206003de1c27080b0d2c6a335f9164c3220a8bc
parent828a97d7739e04e12ef7a5cb91405ab804f03d2a
Fix flashing in non-double-buffered widgets

Avoid copying back partially drawn double-buffer data
when flushing to avoid flicker. This means non double
buffered widgets must draw opaque pixels in its expose
handlers, and that you are not allowed to use direct
rendering (or modify GdkWindow pos/size/order) from
inside the expose handler of a double buffered widget.

See https://bugzilla.gnome.org/show_bug.cgi?id=679144 for more
details
gdk/gdkwindow.c